package com.whale.cloud.controller;

import cn.zhouyafeng.itchat4j.beans.BaseMsg;
import com.whale.cloud.service.MessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by maoweidong on 2017/11/14.
 */
@RestController
@RequestMapping("/login")
public class LoginController {
    @Autowired
    MessageService messageService;

    @GetMapping("/{id}")
    public String changePoint() {
        BaseMsg msg = new BaseMsg();
        messageService.textMsgHandle(msg);
        return null;
    }
}
